

using System;
using System.Runtime.Serialization;

namespace PolePosition.v3.EntityLibrary
{
	// Class-level comments are in VendorInspVisitXmissionStructuresPoleEntity.cs
    /// <summary>
    /// 
    /// </summary>
	/// <remarks>Initial Generation Date: Saturday, May 09, 2009</remarks>
	public sealed partial class VendorInspVisitXmissionStructuresPoleEntity
	{
		
	#region " Collections "

	// FK_tb_Inspection_Images_tb_Inspections : True
	// FK_tb_Inspection_Results_tb_Inspections : True
	// FK_tb_Vendor_InspVisit_XmissionStructures_Poles_tb_Vendor_InspVisit_XMissionStructures : False
	// FK_tb_Vendor_InspVisit_XmissionStructures_Poles_tb_Vendor_Contacts : False
	// FK_tb_Utility_Asset_XMissionStructure_Poles_CrossRemedy_Vendor_InspectionVisit_tb_Vendor_InspVisit_XmissionStructures_Poles : False
	// FK_tb_Vendor_InspVisit_XmissionStructures_Poles_tb_Utility_Asset_XMissionStructures_Poles : False
	// FK_tb_Inspections_tb_XMissionStructures_PoleClasses : False
	// FK_tb_Inspections_tb_XMissionStructures_PoleSpecies : False
	// FK_tb_Inspections_tb_XMissionStructures_PoleTreatments : False
	// FK_tb_Inspections_tb_XMissionStructures_TopTypes : False

	#region Collection Property: VendorInspVisitXmissionStructuresImageCollection
	
		/// <summary>
		/// Stores a collection of VendorInspVisitXmissionStructuresImage Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorInspVisitXmissionStructuresImageEntity> prop_VendorInspVisitXmissionStructuresImageCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorInspVisitXmissionStructuresImage Entities associated with this VendorInspVisitXmissionStructuresPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorInspVisitXmissionStructuresImages table
		/// that are associated with the row in the VendorInspVisitXmissionStructuresPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_InspVisit_XmissionStructures_Poles.Vendor_InspVisit_XMissionStructure_PoleId) to
		/// many (tb_Vendor_InspVisit_XmissionStructures_Images.Vendor_InspVisit_XMissionStructure_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_InspVisit_XmissionStructures_Poles<para></para>
		/// PrimaryTableKey = Vendor_InspVisit_XMissionStructure_PoleId<para></para>
		/// ForeignTable = tb_Vendor_InspVisit_XmissionStructures_Images<para></para>
		/// ForeignTableKey = Vendor_InspVisit_XMissionStructure_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorInspVisitXmissionStructuresPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorInspVisitXmissionStructuresPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorInspVisitXmissionStructuresImageEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorInspVisitXmissionStructuresImageEntity>   VendorInspVisitXmissionStructuresImageCollection
		{
			get {return prop_VendorInspVisitXmissionStructuresImageCollection;}
			set {prop_VendorInspVisitXmissionStructuresImageCollection = value;}
		}

	#endregion
	#region Collection Property: VendorInspVisitXmissionStructuresResultCollection
	
		/// <summary>
		/// Stores a collection of VendorInspVisitXmissionStructuresResult Entities.
		/// </summary>
		private ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorInspVisitXmissionStructuresResultEntity> prop_VendorInspVisitXmissionStructuresResultCollection;
		
		/// <summary>
        /// Gets or Sets the collection of VendorInspVisitXmissionStructuresResult Entities associated with this VendorInspVisitXmissionStructuresPoleEntity.
        /// </summary>
        /// <remarks><para>The Entities in this collection represent the rows from the VendorInspVisitXmissionStructuresResults table
		/// that are associated with the row in the VendorInspVisitXmissionStructuresPoles table for this Entity through a Foreign Key 
		/// relationship. The relationship is
		/// defined as "one (tb_Vendor_InspVisit_XmissionStructures_Poles.Vendor_InspVisit_XMissionStructure_PoleId) to
		/// many (tb_Vendor_InspVisit_XmissionStructures_Results.Vendor_InspVisit_XMissionStructure_PoleFk)", where:</para><para>
		/// PrimaryTable = tb_Vendor_InspVisit_XmissionStructures_Poles<para></para>
		/// PrimaryTableKey = Vendor_InspVisit_XMissionStructure_PoleId<para></para>
		/// ForeignTable = tb_Vendor_InspVisit_XmissionStructures_Results<para></para>
		/// ForeignTableKey = Vendor_InspVisit_XMissionStructure_PoleFk</para>
		/// <para>The Entities are used to obtain additional or supporting information about VendorInspVisitXmissionStructuresPoleEntity.
		/// Since the Entities can be of any type, this gives the VendorInspVisitXmissionStructuresPoleEntity a lot of flexibility as to
		/// the amount and type of data that can be associated with it.</para></remarks>
        /// <value>An <see cref="ProjectCommon2.Generics.EntityCollection&lt;EntityType&gt;" /> containing Entities
		/// of type <see cref="Classes.Entities.VendorInspVisitXmissionStructuresResultEntity" />.</value>
		[DataMember()]
		public ProjectCommon2.Generics.EntityCollection< PolePosition.v3.EntityLibrary.VendorInspVisitXmissionStructuresResultEntity>   VendorInspVisitXmissionStructuresResultCollection
		{
			get {return prop_VendorInspVisitXmissionStructuresResultCollection;}
			set {prop_VendorInspVisitXmissionStructuresResultCollection = value;}
		}

	#endregion
	
	#endregion

	}
}
